package com.xdtech.forum.service;

import java.util.List;
import java.util.Map;

import com.xdtech.common.service.IBaseService;
import com.xdtech.forum.model.LinkTag;
import com.xdtech.forum.vo.LinkTagItem;

/**
 * 
 * @author max.zheng
 * @create 2015-03-06 11:06:23
 * @since 1.0
 * @see
 */
public interface LinkTagService extends IBaseService<LinkTag>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2015-03-06 11:06:23
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdateLinkTag(LinkTagItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2015-03-06 11:06:23
	 * @modified by
	 * @param newId
	 * @return
	 */
	LinkTagItem loadLinkTagItem(Long linkTagId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2015-03-06 11:06:23
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deleteLinkTagInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-03-06 11:06:23
	 * @modified by
	 * @param linkTagIds
	 */
	boolean deleteLinkTagInfo(List<Long> linkTagIds);

	/**
	 * 加载快捷相关map信息分类
	 * @author <a href="max.zheng@zkteco.com">郑志雄</>
	 * @since 2015-3-6 下午3:01:29
	 * @return
	 */
	Map<String, List<LinkTagItem>> loadLinkTagsMap();
}
